package com.example.core.filter.flowctl;

import com.example.common.config.Rule;

/**
 * @Author Peng Yisheng
 * @Date 2024/12/6 17:36
 * @Description 流控规则接口
 */
public interface IFlowControlRule {

    /**
     * 执行流控规则过滤器
     *
     * @param flowControlConfig
     * @param serviceId
     */
    void doFlowControlFilter(Rule.FlowControlConfig flowControlConfig, String serviceId);

}
